//
//  XunJianViewController.h
//  Qihuo
//
//  Created by ~Fighting~ on 13-10-20.
//  Copyright (c) 2013年 Vencoo. All rights reserved.
//
#import "secureXJViewController.h"
#import "ProjectCJViewController.h"
#import "FunctionXJViewController.h"


//@class secureXJViewController;
//@class ProjectCJViewController;
//@class FunctionXJViewController;
#import <AVFoundation/AVFoundation.h>
#import "ParentViewController.h"
#import "FridUtil.h"
#import "XunJianCell.h"
#import "BlackbackgroundView.h"
@interface XunJianViewController : ParentViewController<FridUtilDelegate,UIAlertViewDelegate>
{
    NSURL *recordedFile;
    AVAudioPlayer *player;
    AVAudioRecorder *recorder;
    BOOL isRecording;
}
@property (nonatomic,assign) secureXJViewController *secureDelegate;
@property (nonatomic,retain) ProjectCJViewController *projectDelegate;
@property (nonatomic,retain) FunctionXJViewController *functionDelegate;
@property (nonatomic,retain) NSString *checkArea;
@property (nonatomic,retain) UIAlertView *alertV;
@property (nonatomic,retain) BlackbackgroundView *blackStopV;
@property (nonatomic,retain) BlackbackgroundView *blackGroundV;
@property (nonatomic,retain) UIImageView *blackView;
@property (nonatomic,retain) UITableView *myTableView;//左边的大的TableView
@property (nonatomic,retain) UIImage *leftTableImage;//
@property (nonatomic,retain) UIImageView *whiteImageView;
@property (nonatomic,retain) UIScrollView *backScrollV;//要把所有的控件添加在这个scroll|View上
@property (nonatomic,retain) NSArray *queryFloorInfo;
//@property (nonatomic,retain) NSMutableArray *myControls;
@property (nonatomic,retain) NSMutableArray *checkNameLbs;
@property (nonatomic,retain) NSMutableArray *imageViews;
@property (nonatomic,retain) XunJianCell *mycell;
//@property (assign,nonatomic) NSInteger selectRowNum;
//@property (assign,nonatomic) int arrCount;
@property (nonatomic,retain) UILabel *selectedLb;
@property (nonatomic,retain) NSMutableArray *tables;
@property (nonatomic,retain) NSMutableArray *tableFactors;
@property (nonatomic,retain) NSMutableArray *tableValues;
@property (nonatomic,retain) NSArray *tableArray;
@property (nonatomic,retain) NSMutableArray *tableLabels;
@property (nonatomic,retain) NSMutableArray *tableTextViews;
@property (nonatomic,retain) NSMutableArray *tableBtns;
@property (nonatomic,retain) NSArray *abnormals;
@property (nonatomic,retain) NSMutableArray *childLabels;
@property (nonatomic,retain) NSMutableArray *selectBtnArr;
@property (nonatomic,retain) NSMutableArray *floorIds;
@property (nonatomic,retain) NSMutableArray *floorNames;
@property (nonatomic,retain) NSMutableArray *sendFloorDatas;
@property (nonatomic,retain) NSMutableArray *sendCheckDatas;
@property (nonatomic,retain) NSMutableDictionary *sendAllDic;
@property (nonatomic,retain) NSMutableArray *seleBtnData;
@property (nonatomic,retain) NSMutableArray *btnDatas;
//@property (nonatomic,retain) NSMutableArray *inputDatas;
@property (nonatomic,retain) NSString *floorIdQuanju;
@property (nonatomic,retain) UITextView *commentTv;
@property (nonatomic,retain) UIPopoverController *popController;
@property (nonatomic,retain) NSString *floorName;
@property (nonatomic,retain) NSString *sendUrl;//
@property (nonatomic,retain) FridUtil *fridUtil;
@property (nonatomic,retain) NSMutableArray *xunJianCellInfos;
@property (nonatomic,retain) NSArray *allShowDataArr;
@property (nonatomic,retain) NSMutableArray *controlWillClears;//把自己创建的控件放在这个数组中
@property (nonatomic,retain) UIImage *roundSelect;
@property (nonatomic,retain) UIImage *roundUnselect;
@property (nonatomic,retain) NSString *checkXunJianArea;
@property (nonatomic,retain) UIButton* rightBarBtn;
@property (nonatomic,retain) NSString *hostStr;
@property (nonatomic,retain) NSString *softwareStr;
@property (nonatomic,retain) NSString *communicationStr;
@property (nonatomic,retain) NSString *weatherForecast;
@property (nonatomic,retain) NSString *temperature;
@property (nonatomic,retain) NSString *humidity;
- (void)addNewRightButton;//对照表
- (void)addCenterView:(UIImage*)image;
- (void)appearCenterView:(UIButton*)send;//对照表
- (void)hiddenCenterView;//对照表
- (void)addSingleSelect:(NSArray*)options andResult:(NSString *)receiveString;
- (void)jajajajaj:(UIButton*)btn;//最下边的三个按钮的点击事件
//- (void)showFunctionControls:(NSArray *)array andFloorId:(NSString *)floorId;//没用了
- (void)hiddenAll;
- (void)clearAll;//清除所有控件
- (void)showAlertSuccess;//弹出提示框，提示保存成功
- (void)showAlertFail;
- (void)loginSendData;//最后发送数据
- (void)gotoNextFloor;//进入下一个楼层
- (void)addCommentKuang:(NSString*)text;//备注框
- (void)addRemarkKuang;
- (void)showUIWithArray:(NSArray *)array andFloorId:(NSString *)floorId;
@end
